package air.desktop
{
    import library.ASTUce.framework.TestCase;
    
    public class DeviceModelTest extends TestCase
    {
        public function DeviceModelTest( name:String = "" )
        {
            super( name );
        }
        
        public function testToString():void
        {
            var dm0:DeviceModel = new DeviceModel(      "", "ABC", "0123456789" );
            var dm1:DeviceModel = new DeviceModel( "Fruit", "DEF", "0123456789" );
            var dm2:DeviceModel = new DeviceModel(      "", "GHI", "0123456789", "Wifi" );
            
            assertEquals( "ABC" , dm0.toString() );
            assertEquals( "Fruit DEF" , dm1.toString() );
            assertEquals( "GHI (Wifi)" , dm2.toString() );
            
        }
        
    }
}